#if !defined(AFX_DBTOOLSQL_H__DE1CA97B_A012_422F_8FDB_A48E9D850530__INCLUDED_)
#define AFX_DBTOOLSQL_H__DE1CA97B_A012_422F_8FDB_A48E9D850530__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DBToolSQL.h : header file
//

#include "ResizableDialog.h"
/////////////////////////////////////////////////////////////////////////////
// DBToolSQL dialog

class DBToolSQL : public CResizableDialog
{
// Construction
public:
	BOOL SaveFile();
	BOOL GetSave();
	BOOL Create();
	DBToolSQL(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(DBToolSQL)
	enum { IDD = IDD_DIALOG_SQL };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DBToolSQL)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(DBToolSQL)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	virtual void OnCancel();
	afx_msg void OnExecute();
	afx_msg void OnChangeEditSql();
	afx_msg void OnButtonSave();
	afx_msg void OnButtonOpen();
	afx_msg void OnButtonNew();
	afx_msg void OnButtonSaveas();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL m_bolFlagSave;
	UINT m_nID;
	CWnd* parent;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DBTOOLSQL_H__DE1CA97B_A012_422F_8FDB_A48E9D850530__INCLUDED_)
